ARC_options

Contents|Index|Previous|Next
ARC options

The following options are for the ARC implementations.

`-EL`

Compile code for little endian mode. This is the default.

`-EB`

Compile code for big endian mode.

`-mmangle-cpu`

Prepend the name of the `cpu` to all public symbol names. In multiple-processor systems, there are many ARC variants with different instruction and register set characteristics. This flag prevents code compiled for one CPU to be linked with code compiled for another CPU. No facility exists for handling variants that are “almost identical.” This is an all or nothing option.

`-mcpu=cpu`

Compile code for ARC variant, `cpu`. Which variants are supported depend on the configuration. All variants support the default, `-mcpu=base`.

`-mtext=text section`
`-mdata=data section`
`-mrodata=readonly data section`

Put functions, data, and read-only data in `text section`, `data section`, and `readonly data section`, respectively, by default. This can be overridden with the `section` attribute. See Specifying attributes of variables.